package com.gz.university.crm.web.action;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Namespace;
import org.apache.struts2.convention.annotation.ParentPackage;
import org.apache.struts2.convention.annotation.Result;
import org.apache.struts2.convention.annotation.Results;

@SuppressWarnings("serial")
@Namespace("/")
@ParentPackage("basePackage")
@Action(value = "companyAction")
@Results({
		@Result(name = "list", location = "/WEB-INF/page/crm/customer/base/list.jsp"),
		@Result(name = "add", location = "/WEB-INF/page/crm/customer/base/add.jsp") })
public class CompanyAction extends BaseAction {
	/**
	 * 返回客户拜访的列表页面
	 * @return
	 */
	public String list() {
		return "list";
	}
    /**
     * 返回添加新的客户拜访的页面
     * @return
     */
	public String add() {
		return "add";
	}
}
